﻿using MvcDemo.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MvcDemo.Controllers
{
    [MyActionFilterAttribute(Name = "控制器")]
    public class UserInfoController : Controller
    {
        // GET: UserInfo
        public ActionResult Index()
        {
            return View();
        }
        [MyActionFilterAttribute(Name ="方法上的")]
        public ActionResult UserRegist()
        {
            return View();
        }
        public ActionResult ProcessUserRegist(string name, string pwd)
        {

            return Content(name+pwd);
        }

    }
}